<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>




<html:html>
	<head>
		<title>ITIGA - Add ITI graduate</title>
	</head>
	<body>
    	<html:form action="/addITIian.do">
    		<h3>ITI graduate details:</h3>
    		<table>
    			<tr>
    				<td>Full Name:</td><td><html:text property="fullName" /></td>
    			</tr>
    			<tr>
    				<td>Email:</td><td><html:text property="email" /></td>
    			</tr>
    			<tr>
    				<td>Phone:</td><td><html:text property="phone" /></td>
    			</tr>
    			<tr>
    				<td>Intake:</td><td><html:text property="intake"/></td>
    			</tr>    			
    			<tr>
    				<td>ITI Branch:</td>
    				<td>
    					<html:select property="branch" >    
    						<html:option value="-1">Select Branch</html:option>
    						<html:optionsCollection name="AddITIianFormBean" property="branches" label="name" value="BId" />						
    					</html:select>
    					    				
    					
    				</td>
    			</tr>
    			<tr>
    				<td>ITI Department:</td>
    				<td>
    					<html:select property="department" >    					    
    						<html:option value="-1">Select Department</html:option>
    						<html:optionsCollection name="AddITIianFormBean" property="departments" label="DName" value="DId" />	
    					</html:select>
    					
    				</td>
    			</tr>
    			<tr>
    				<td>University:</td>
    				<td>
    					<html:select property="university" >    					    
    						<html:option value="-1">Select University</html:option>
    						<html:optionsCollection name="AddITIianFormBean" property="universities" label="UName" value="UId" />	
    					</html:select>
    					
    				</td>
    			</tr>
    			<tr>
    				<td>Faculty:</td>
    				<td>
    					<html:select property="faculty" >    					    
    						<html:option value="-1">Select Faculty</html:option>
    						<html:optionsCollection name="AddITIianFormBean" property="faculties" label="FName" value="FId" />	
    					</html:select>    					
    				</td>
    			</tr>    			
    		</table><html:reset>
    			
    		</html:reset>
			<html:submit value="Create account">
    			
    		</html:submit>
    		  
    	</html:form>
	</body>
</html:html>
